Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor refactorings for the Join class #1560

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

RobinTF
Copy link
Collaborator

@RobinTF RobinTF commented Oct 16, 2024

These include removing dead code and unused arguments, making functions const or even static, and applying similar minor non-functional refactorings.

Iterator it_;
[[no_unique_address]] const End end_;
const Projection& projection_;
CurrentBlocks currentBlocks_{};

// Type aliases for a single element from a block from the left/right input.
using value_type = std::ranges::range_value_t<typename Iterator::value_type>;
using value_type = std::ranges::range_value_t<std::iter_value_t<Iterator>>;
Copy link
Collaborator Author

@RobinTF RobinTF Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This helper type also works if the iterator type is a pointer.

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.94%. Comparing base (2b4e6b3) to head (6a575bf).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1560      +/-   ##
==========================================
+ Coverage   88.93%   88.94%   +0.01%     
==========================================
  Files         364      364              
  Lines       33127    33121       -6     
  Branches     3715     3714       -1     
==========================================
- Hits        29462    29461       -1     
+ Misses       2433     2431       -2     
+ Partials     1232     1229       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@joka921 joka921 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are all fine, thank you very much, but there currenty is a small conflict in the SpatialJoinTest. Please fix that, and then we can merge.

@sparql-conformance
Copy link

Copy link

sonarcloud bot commented Oct 18, 2024

@joka921 joka921 merged commit 264919e into ad-freiburg:master Oct 18, 2024
22 checks passed
@RobinTF RobinTF deleted the join-refactoring branch October 18, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants